﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EC.Application.Interface
{
    using EC.Entity;
    using EC.Entity.Request.Business;
    using EC.Entity.Request.User;
    using EC.Entity.Response.Merchant;

    /// <summary>
    /// 商户接口
    /// </summary>
    public interface BusinessService
    {
        /// <summary>
        /// 获取商户
        /// </summary>
        /// <param name="id">编号</param>
        /// <returns></returns>
        MerchantResponse GetMerchant(int id);

        /// <summary>
        /// 充值
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        JResult SaveRecharge(SaveRechargeRequest request);

        /// <summary>
        /// 提现
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        JResult SaveWithdrawal(SaveWithdrawalRequest request);

        /// <summary>
        /// 修改密码
        /// </summary>
        /// <returns></returns>
        JResult ResetPassWord(ResetPassWordRequest request);
    }
}
